package org.linlinjava.litemall.db.service.log;

import org.linlinjava.litemall.db.dao.AgedmallLogGoodsViewMapper;
import org.linlinjava.litemall.db.domain.AgedmallLogGoodsView;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author houzb
 * @Description
 * @create 2021-12-10 11:18
 */
@Service
public class AgedmallLogGoodsViewService {

    @Resource
    private AgedmallLogGoodsViewMapper agedmallLogGoodsViewMapper;

    /**
     * 保存商品浏览器相关日志
     * @param goodsView
     */
    public void recordGoodsView(AgedmallLogGoodsView goodsView) {
        agedmallLogGoodsViewMapper.insert(goodsView);
    }

}
